You are here: RainWorx.FrameWorx.MVC Namespaces > RainWorx.FrameWorx.MVC.Controllers > AccountController Class > AddCard Method

AccountControllerAddCard Method

AuctionWorx 3.5 API
Redirects to the appropriate payment-gateway-specific form for adding a new credit card

Namespace:  RainWorx.FrameWorx.MVC.Controllers
Assembly:  RainWorx.FrameWorx.MVC (in RainWorx.FrameWorx.MVC.dll) Version: 3.5

Syntax

C#
public ActionResult AddCard(
	int? SellerID,
	int? ListingID,
	string returnUrl
)

Parameters

SellerID
Type: SystemNullableInt32
the payment recipient user's ID, or null for site fees
ListingID
Type: SystemNullableInt32
the ID of the listing that would be paid, or null for site fees
returnUrl
Type: SystemString
the url to redirect to upon success

Return Value

Type: ActionResult
See Also

Reference

Copyright © 2002-2022. RainWorx Software. All rights reserved.