Skip to content

Commit

Permalink
Merge pull request #89 from mediaopt/feature/36076-apple-pay
Browse files Browse the repository at this point in the history
#36076 using again applepay as paymentSource
  • Loading branch information
majidabbasimediaopt authored Apr 18, 2024
2 parents 5806ac4 + 2eed680 commit 5b74da4
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "paypal-commercetools-client",
"version": "0.1.16-alpha",
"version": "0.1.17-alpha",
"private": false,
"type": "module",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/components/ApplePay/ApplePayMask.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ export const ApplePayMask: React.FC<CustomPayPalButtonsComponentProps> = (
setPaymentId("payment id: " + paymentInfo.id);

try {
const orderId = await handleCreateOrder({ paymentSource: "paypal" });
const orderId = await handleCreateOrder({ paymentSource: "applepay" });
setLogs("orderId: " + orderId);

const confirmResult = await pay.confirmOrder({
Expand Down

0 comments on commit 5b74da4

Please sign in to comment.